import request from '@/utils/zyrequest'
import { getToken } from '@/utils/auth'

export default {
    // 账号管理查询
    searchAccountList(page,size) {
        return request({
            url: `/account/list/search/${page}/${size}`,
            method: 'post',
            headers: {
                'token': getToken()
            }
        })
    },

     // 网关管理查询
     searchGatewayList(page,size) {
        return request({
            url: `/gateway/list/search/${page}/${size}`,
            method: 'post',
            headers: {
                'token': getToken()
            }
        })
    },   

}